package com.cfjjc.gz.common.util;

import java.io.Serializable;

/**
 * 树的配置信息类
 * 
 */
public class TreeConfig implements Serializable {

	private static final long serialVersionUID = 6627366711029134255L;

	private String url;							// 异步加载时的URL

	private boolean returnLeaf = false;			// 是否只能选择底级节点

	private String minReturnLevel;				// 返回数据的最小级次

	private String maxReturnLevel;				// 返回数据的最大级次

	private String excludeCode;					// 不能选择的节点编码

	private boolean checkbox = false;			// 是否显示复选框
	
	private String queryString;					// 查询字符串

	/** 以下为get,set方法 */

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 *            the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	public boolean isReturnLeaf() {
		return returnLeaf;
	}

	public void setReturnLeaf(boolean returnLeaf) {
		this.returnLeaf = returnLeaf;
	}

	public String getMinReturnLevel() {
		return minReturnLevel;
	}

	public void setMinReturnLevel(String minReturnLevel) {
		this.minReturnLevel = minReturnLevel;
	}

	public String getExcludeCode() {
		return excludeCode;
	}

	public void setExcludeCode(String excludeCode) {
		this.excludeCode = excludeCode;
	}

	public String getMaxReturnLevel() {
		return maxReturnLevel;
	}

	public void setMaxReturnLevel(String maxReturnLevel) {
		this.maxReturnLevel = maxReturnLevel;
	}

	/**
	 * 获取 是否复选框
	 * 
	 * @return
	 */
	public boolean isCheckbox() {
		return checkbox;
	}

	/**
	 * 设置 是否复选框
	 * 
	 * @param checkbox
	 */
	public void setCheckbox(boolean checkbox) {
		this.checkbox = checkbox;
	}

	/**
	 * 获取 查询字符串
	 * 
	 * @return
	 */
	public String getQueryString() {
		return queryString;
	}

	/**
	 * 设置 查询字符串
	 * 
	 * @param queryString
	 */
	public void setQueryString(String queryString) {
		this.queryString = queryString;
	}

}